package com.mofeng.myshop.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class EmailProperty {
    @Value("${my-setting.email.email-address}")
    private String email ;

    @Value("${my-setting.email.email-password}")
    private String password;

    @Value("${my-setting.email.email-type}")
    private String type ;
}
